#include "agreefriend.h"
#include "ui_agreefriend.h"

agreefriend::agreefriend(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::agreefriend)
{
    ui->setupUi(this);
}

agreefriend::~agreefriend()
{
    delete ui;
}

void agreefriend::on_pushButton_clicked()
{
    emit(addagree());
    close();
}

void agreefriend::on_pushButton_2_clicked()
{
    close();
}
